<?php

include "../librari/koneksi.php";
$hasil=mysql_query("delete from syarat where idSyarat ='$_GET[id]'");
if($hasil){
echo "<script language='JavaScript'>document.location='syarat.php';
alert('Data Syarat Sudah Terhapus. Klik OK!');
 </script>";
}else{
echo "<script language='JavaScript'>document.location='syarat.php';
alert('Gagal Menghapus. Klik OK!');
 </script>";
}
?>
